package com.sxpi.chapter02.mode;

/**
 * @Author: 董伟豪
 * @Date: 2023/2/4 15:58
 */
public class YearvipUserService implements IUserVipService {
    @Override
    public Double getMoney(Double coursePrice) {
        return coursePrice * 0.75;
    }

    @Override
    public Integer getCorn() {
        return 3000;
    }
}
